"""
Project Name : api_automation_framework
File Name : cookies-demo.py
Author : lldhsds
Date : 2024/12/29 11:27
Description: /cookies, 返回cookie数据
"""

import requests

def cookies_demo() -> None:
    url = "http://httpbin.org/cookies"
    headers = {'content-type': 'application/json'}
    response = requests.get(url, headers=headers)
    print(response.status_code)
    print(response.json())
    print(response.headers)


cookies_demo()
